package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

public interface StudentService extends IService<Student> {
    /**
     * 分页查询
     */
    PageResult<Student> getPageResult(StudentQueryParam student);
    /**
     * 学员违纪
     */
    void violation(Integer id, Integer score);
}
